<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import= "DAO.loadList" language="java"  %>
<%@ page import= "bean.loadListBean" language="java"  %>
<%@ page import= "java.util.*" language="java"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="content-Style-Type" content="text/css" />
<link href="assets/themes/style.css" rel="stylesheet" type="text/css"/>
<script>
	function createNewRecord(){
		window.open("createNewPoint.jsp","newwindow","height=400, width=300, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no");
	}
</script>
<title></title>
</head>
<body>


我们一起牵手旅行
<div id="rightMain" align="center">
<!--记录信息区域开始-->
	<div id="recordList">
		<table border="1">
			<tr>
				<th> 时间</th>
				<th>地点</th>
				<th>主题</th>
				<th>一起参与的好友</th>
			</tr>
 		<!--  数据注入-->
		<% ArrayList list =loadList.getInfo("allen");
		   if(list.size()!=0){
			   Iterator it = list.iterator();
			   while(it!=null && it.hasNext()){
				   loadListBean info = (loadListBean)it.next();
		%>
			<tr>
				<th><%= info.getx() %></th>
				<th><%= info.gety() %></th>
				<th><%= info.getCurrentUser() %></th>
				<th><%= info.getIsPublic() %></th>
			</tr>
	    <%}} %>
		</table>
	</div>

<!--记录信息区域结束-->

<!--图片展示区域开始-->	
	<div id="picList">
		<div class="ftitle">
        	<h2 class="left"> 精彩旅游照片</h2>
     	</div>
		<div class="destPhoto" >
			<ul class="ulFloat">
				<li>
					<dl>
						<dd>
							<a href="http://www.yo2r.com/destination/photoWorld/showPhotos.do?id=27575&loc=328" alt="开平碉楼" title="开平碉楼" target="_blank"><img src="http://www.yo2r.com/file/td/photoWorld/201108/2011082416194558537.jpg" width="148" height="138px" />
						</dd>
						<dt><a href="http://www.yo2r.com/destination/photoWorld/showPhotos.do?id=27575&loc=328" alt="开平碉楼" title="开平碉楼" target="_blank">开平碉楼</a></dt>
					</dl>
				</li>
				<li>
					<dl>
						<dd>
							<a href="http://www.yo2r.com/destination/photoWorld/showPhotos.do?id=27574&loc=328" alt="潮州滨江长廊" title="潮州滨江长廊" target="_blank"><img src="http://www.yo2r.com/file/td/photoWorld/201108/2011082416183046175.jpg" width="148" height="138px" />
						</dd>
						<dt><a href="http://www.yo2r.com/destination/photoWorld/showPhotos.do?id=27574&loc=328" alt="潮州滨江长廊" title="潮州滨江长廊" target="_blank">潮州滨江长廊</a></dt>
					</dl>
				</li>
			</ul>
		</div>
		
	</div>
<!--图片展示区域结束-->

<!-- 功能区域开始-->
	<div style="float:left">
		<li><img src="assets/add.png" onClick="createNewRecord()"/></li>
		<li>修改记录点</li>
		<li>删除记录点</li>
	</div>
<!-- 功能区域结束-->		
</div>

</body>
</html>